<template>
	<div class="home" style="">
		<div>
			<h1>欢迎主人回家!!!!!!</h1>
		</div>


		<div>
			<el-button type="primary" @click="echarts">智慧大屏</el-button>

			<el-button type="primary" @click="bhrCshi('/fxlx')">测试飞行路线</el-button>

			<el-button type="primary" @click="nanYiClick">菜鸡小窝</el-button>
			
			<el-button type="primary" @click="bhrCshi('/csxtx')">测试新特性</el-button>

			<el-button type="primary" @click="bhrCshi('/wzp')">王振鹏学知识</el-button>

			<el-button type="primary" @click="bhrCshi('/xianmu')">王振鹏学知识</el-button>

			<el-button type="primary" @click="bhrCshi('/Iframe')">Iframe</el-button>
		</div>
	</div>
</template>

<script>
import contents from '../../components/echarts.vue'
export default {
	components:{
		contents
	},
	data(){
		return {
			
		}
	},
	methods:{
		echarts(){
			this.$router.push({
              path: "/echarts",
            });
		},

		// 比浩然专用路由跳转
		bhrCshi(val){
			this.$router.push({
              path: val,
            });
		},

		//晨光 专用路由跳转
		nanYiClick(){
			this.$router.push({
				path:'/table'
			});
		}
	},
	created(){

	}
}
</script>
<style scoped>
	.home{
		margin: auto;
		height:98%;
		width:98%;
		border: 1px solid rgb(0, 0, 0);
		display: flex;
		justify-content: center;
		flex-direction: column;
		align-items: center;
	}
</style>
 